def fib(x):
    while x>0:
        if x==1 or x==2:
            return 1
        else:
            return fib(x-2)+fib(x-1)
print(fib(20))

def fibx(x):
    if x==2 or x==1:
        return 1
    else:
        for each in range(2,x):
            result= each +1